package com.google.code.irouter.portal.client.rpc.consumer;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ConsumerServiceAsync {

	void load(String tags, AsyncCallback<List<ConsumerResult>> callback);

	void get(String id, AsyncCallback<ConsumerResult> callback);

	void save(String id, String name, String sender, String consumerKey,
			String consumerSecret, String user, String password, int maxLength,
			int quota, String tags, AsyncCallback<Boolean> callback);

	void remove(String[] ids, AsyncCallback<Boolean> callback);

}
